-
Notifications
You must be signed in to change notification settings - Fork 471
Add Browser Env Integration #732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add Browser Env Integration #732
Conversation
Co-Authored-By: Claude Opus 4.5 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes and found 3 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
Description
Adds
BrowserEnv- a unified browser automation integration for the verifiers library supporting two operational modes:DOM Mode (
mode="dom")navigate,observe,act,extract- Stagehand's AI-driven primitivesCUA Mode (
mode="cua")click,double_click,type_text,keypress,scroll,goto,back,forward,wait,screenshotBoth modes support local browser execution or Browserbase cloud infrastructure.
What's included:
verifiers/envs/integrations/browser_env/- Core integration (BrowserEnv, DOMMode, CUAMode)verifiers/envs/integrations/browser_env/cua-server/- TypeScript server for CUA modeenvironments/browser_dom_example/- Minimal DOM mode exampleenvironments/browser_cua_example/- Minimal CUA mode example[browser]extra:uv add 'verifiers[browser]'Benchmarks (GAIA, WebVoyager, Mind2Web) have been pushed to Prime Hub under the
browserbase/namespace.Type of Change
Testing
uv run pytestlocally.Checklist
Additional Notes
Future work:
browserbase/org~
Note
Adds a new browser automation integration with two modes and supporting assets.
BrowserEnv(DOM via Stagehand, CUA via vision primitives) with default prompts, env var validation, tool handling, screenshot filtering, and mode-specific message formattingBrowserEnvinverifiers/__init__.pyand adds integration package underverifiers/envs/integrations/browser_envenvironments/browser_dom_exampleandenvironments/browser_cua_example(docs, datasets, loaders, pyprojects)verifiers/envs/integrations/browser_env/cua-server/) with Fastify/Stagehand code and scripts[browser]optional dependency group inpyproject.tomland updates integration docs (docs/environments.md,verifiers/envs/integrations/README.md,environments/AGENTS.md)tests/test_envs.pyskip listWritten by Cursor Bugbot for commit e688da6. This will update automatically on new commits. Configure here.